﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Ewts.Trace
{
    public partial class bugInfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["id"] != null)
            {
                int id = int.Parse(Request["id"].ToString());
                binddata(id);
            }

        }

        public void binddata(int bugid)
        {
            DataLib.Model.BugTraceTab model = new DataLib.BLL.BugTraceTab().GetModel(bugid);
            imgbug.Src = model.bugimg;
            DataTable dt = new DataLib.BLL.BugItemsInfo().GetList("TracID=" + bugid.ToString()).Tables[0];
        }
    }
}